View Javadoc
1 package jrre.classloader.classfile.attributes; 2 3 public class LocalVariableAttributeTable { 4 5 private int attributeNameIndex, attributeLength; 6 private int localVariableEntryCount; 7 private LocalVariableEntry [] localVariableEntry; 8 9 public LocalVariableAttributeTable() {} 10 11 public LocalVariableAttributeTable(int attributeNameIndex, 12 int attributeLength, 13 int localVariableEntryCount){ 14 15 this.attributeNameIndex = attributeNameIndex; 16 this.attributeLength = attributeLength; 17 this.localVariableEntryCount = localVariableEntryCount; 18 } 19 20 public void setLocalVariableEntries(LocalVariableEntry [] localVariableEntry){ 21 this.localVariableEntry = localVariableEntry; 22 } 23 24 25 /*** 26 * Gets the LocalVariableEntryCount. 27 */ 28 public int getLocalVariableEntryCount(){ 29 return this.localVariableEntryCount; 30 } 31 32 /*** 33 * Sets the LocalVariableEntryCount. 34 * @param LocalVariableEntryCount The value to set it to. 35 */ 36 public void setLocalVariableEntryCount(int localVariableEntryCount){ 37 this.localVariableEntryCount = localVariableEntryCount; 38 } 39 40 public String toString(){ 41 42 StringBuffer toReturn = new StringBuffer(); 43 44 toReturn.append("LocalVariableAttributeTable: "); 45 46 return toReturn.toString(); 47 } 48 } 49

This page was automatically generated by Maven